package com.hhkj.study.admin.resource.service.biz;

import com.hhkj.study.admin.resource.entity.ResourceQuestionBank;
import com.hhkj.study.admin.resource.model.req.ResourceQuestionBankReq;
import com.hhkj.study.admin.resource.model.req.ResourceQuestionBatchSave;
import com.hhkj.study.admin.resource.model.res.ResourceQuestionBankRes;
import com.hhkj.study.common.model.res.ExcelImportResultRes;
import com.ruoyi.common.base.biz.service.biz.BaseBizService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
* ResourceQuestionBankBizService
*
* @author SERVER
* @since 2024-09-06
*/
public interface ResourceQuestionBankBizService extends BaseBizService<ResourceQuestionBank, ResourceQuestionBankReq, ResourceQuestionBankRes> {

    boolean updatePublishFlag(ResourceQuestionBankReq req);

    void export(ResourceQuestionBankReq req, HttpServletResponse response);

    ExcelImportResultRes importQuestionBank(MultipartFile file, HttpServletRequest request);

    boolean batchSave(ResourceQuestionBatchSave questionBatchSave);
}